using Cysharp.Threading.Tasks;
using UnityEngine;
namespace MiniAnimation
{
    public class UnitaskFuncNode : SequenceNode
    {
        public UniTaskFunc func;
        public UnitaskFuncNode(UniTaskFunc func) : base()
        {
            this.func = func;
        }
        protected override async UniTask OnExcute()
        {
            await func();
        }


    }
}
